import { createApp } from 'vue';
import { IconFont } from '@nutui/icons-vue';
import { setupStore } from './store';
import { setupAssets } from './plugins';
import '@nutui/icons-vue/dist/style_iconfont.css';
const App = createApp({
  onShow() {
    //
  }

  /** 入口组件不需要实现 render 方法，即使实现了也会被 taro 所覆盖 */
});
App.use(IconFont);
function setupApp() {
  /** 引入静态资源 */
  setupAssets();
  /** 挂载store */
  setupStore(App);
}

setupApp();

export default App;
